package com.wtb.javatool.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wtb.javatool.dao.TeamMapper;
import com.wtb.javatool.entity.Team;
import com.wtb.javatool.service.TeamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeamServiceImpl extends ServiceImpl<TeamMapper,Team> implements TeamService {
    @Autowired
    private TeamMapper teamMapper;
    @Override
    public List<Team> getTeamByTeamId(Long teamId) {
        return teamMapper.getTeamByTeamId(teamId);
    }
}
